clear;clc;

FimageQ=load('Fimage_Qacoustic.mat');

FimageA=load('Fimage_acoustic.mat');


[zz,xx]=size(FimageQ.Fimage);

dx=12.5;
dz=4.0;
x_tick=[0:100:xx];x_label=dx*x_tick;
z_tick=[0:100:zz];z_label=dz*z_tick;
Font=14;

plotimage(FimageA.Fimage); % clip level 7
set(gcf,'units','normalized','position',[0.1 0.1 0.6 0.6]);
axis([0,xx,0,zz]);set(gca,'xaxislocation','top');
set(gca,'tickdir','out');
xlabel('x (m)','FontSize',Font);
ylabel('Depth (m)','FontSize',Font);
set(gca,'FontSize',Font);
set(gca, 'XTick', x_tick);
set(gca,'XTickLabel',x_label,'FontSize',Font);
set(gca, 'YTick', z_tick,'FontSize',Font);
set(gca,'YTickLabel',z_label);

hold on;plot([80,80,120,120,80],[360,420,420,360,360],'--r','LineWidth',1);

plotimage(FimageQ.Fimage);% clip level 7
set(gcf,'units','normalized','position',[0.1 0.1 0.6 0.6]);
axis([0,xx,0,zz]);set(gca,'xaxislocation','top');
set(gca,'tickdir','out');
xlabel('x (m)','FontSize',Font);
ylabel('Depth (m)','FontSize',Font);
set(gca,'FontSize',Font);
set(gca, 'XTick', x_tick);
set(gca,'XTickLabel',x_label,'FontSize',Font);
set(gca, 'YTick', z_tick,'FontSize',Font);
set(gca,'YTickLabel',z_label);
hold on;plot([80,80,120,120,80],[360,420,420,360,360],'--r','LineWidth',1);
